#! /bin/sh

if [ $# -ne 1 ]
then
        echo "you must specify the tree name of the source code"
        exit 0
fi

lxr_recover_tree.sh $1

cd /lxr
expect expect_initdb

./genxref --url=https://www.lengqinjie.xyz:2001/lxr --tree=$1 


